package cn.xyy.system.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.xyy.common.domain.system.auth.Dict;
import cn.xyy.jdbc.BaseDaoImpl;

/**
 * 字典数据持久层
 * 
 * @author xyy
 *
 */
@Repository
public class DictDao extends BaseDaoImpl {

	public List<Dict> selectAll() {
		return super.select(new Dict());
	}

	public int insert(Dict dict) {
		return super.insert(dict);
	}

	public int update(Dict dict) {
		return super.update(dict);
	}

	public int delete(Dict dict) {
		return super.delete(dict);
	}

	public Dict selectById(Integer id) {
		return super.selectById(id, Dict.class);
	}

}
